package com.bl.student.service.biz.vip;

import com.bl.student.dao.model.GoodsEntity;
import com.bl.student.dao.model.VipEntity;
import com.bl.student.dao.redis.model.UserInfo;
import com.bl.student.service.vo.ListVo;
import com.bl.student.service.vo.vip.IsVipVo;
import com.bl.student.service.vo.vip.VipListVo;
import org.springframework.data.domain.Pageable;

/**
 * Created by yujingyi on 2018/2/25.
 */
public interface VipService {
    VipEntity getVipByUserId(String userId);

    IsVipVo isVip(UserInfo userInfo);

//    ListVo<GoodsEntity> getVipItems(UserInfo userInfo);

    VipListVo getVipList(Pageable pageable);

    void createOrRenewUserVip(String userId, int months);
}
